<div class="header clear">
    <div class="header_info">
        <a class="logo" href="/"><img alt="{$site_name}" src="{$logo}">{$site_name}</a>
        <form class="searchboxinput" method="post" action="{:url('index/products')}">
            <input type="text" name="keyword" placeholder="Please enter a keyword">
            <img src="/static/image/search.png" alt="">
        </form>
    </div>
    <div class="nav_box clear">
        <div class="nav">
            <ul>
                <li><a href="/">HOME</a></li>
                {volist name='lanmu' id='vo'}
                {if condition="$vo.keyword=='products'"}
                <li class="nav_on">
                    <a href="{:url('index/products')}">{$vo.title}<img src="/static/image/arrow.png" alt=""></a>
                    <div class="subnav">
                        <ul>
                            {volist name='category' key='k1' id='vo'}
                            <li>
                                <a href="{:url('index/products',['pid'=>$vo.id])}">{$vo.name}</a>
                                {if condition='$vo.son'}
                                <div class="subnav02">
                                    <ul>
                                        {volist name='vo.son' id='v'}
                                        <li><a href="{:url('index/products',['pid'=>$v.id])}">{$v.name}</a></li>
                                        {/volist}
                                    </ul>
                                </div>
                                {/if}
                            </li>
                            {/volist}
                        </ul>
                    </div>
                </li>
                {else/}
                <li><a href="{:url('index/'.$vo.keyword)}">{$vo.title}</a></li>
                {/if}
                {/volist}
            </ul>
            <div class="cl"></div>
        </div>
    </div>
</div>